I just wanted to update you. I had thought of building a new Exchange server but just installing the CAS role on another regular server I had restored worked..it allowed the CAS role to be installed with no issues. However when I launched the Exchange
Management Console or Shell it came up with error that trying to start that it could not connect I received an error
Connecting to remote server failed with the following error message:
The WinRM client received an HTTP server error status (500), but the remote service did not include any other information about the cause of the failure. For more information, see the about_Remote_Troubleshooting Help topic. It was running
the command 'Discover-ExchangeServer -UseWIA $true -SuppressError $true'.
I found an article that said
Possible Causes
1. The ExchangeInstallPath variable may be missing. To check this, go to the System Properties, Environment variables, and look under the System variables. You should see a variable of
ExchangeInstallPath with a value pointing to C:\Program Files\Microsoft\Exchange Server\V14\.
2. The Path of the Powershell virtual directory has been modified. The PowerShell virtual directory must point to the \Program Files\Microsoft\Exchange Server\v14\ClientAccess\PowerShell directory or you will encounter problems.
Turns out it was the 1st possible cause that was the issue I entered the environment variable and restarted.. Opened the Exchanage Management Shell and it took a while to connect then it worked. I was able to run
Exchange commands..I am still working on it but I wanted to thank you for your help so far and wanted to update this post so hopefully it will help others...